#pragma once

// Thomas:
// Visual Studio memory leak detection
#if defined( _MSC_VER )
#define _CRTDBG_MAP_ALLOC
#include <stdlib.h>
#include <crtdbg.h>
#define new DEBUG_NEW
#define DEBUG_NEW new( _NORMAL_BLOCK, __FILE__, __LINE__ )
#endif

#define MEDIA_DIR "../media/"

#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <time.h>
#include <typeinfo.h>
#include <vector>
#include <algorithm>
#include <numeric>

#define NOMINMAX
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <gl/Gl.h>
#include <gl/Glu.h>


// #define _WIN32_WINNT 0x0400     //Allows CoInitializeEx command
#include <xact3.h>

#include "OGLWindow.h"
#include "HiResTimer.h"
// End - Phase 17